package com.kxmall.huishou.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import com.kxmall.common.core.validate.AddGroup;
import com.kxmall.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 垃圾处理方式业务对象 hs_waste_handle_type
 *
 * @author kxmall
 * @date 2024-05-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HsWasteHandleTypeBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 垃圾处理方式名称
     */
    @NotBlank(message = "垃圾处理方式名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 垃圾处理方式code
     */
//    @NotBlank(message = "垃圾处理方式code不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 垃圾处理方式分布值
     */
    @NotBlank(message = "垃圾处理方式分布值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String value;


}
